package cn.demoncat.test.neo.node;

import org.neo4j.ogm.annotation.NodeEntity;

/**
 * 节点实体
 *
 * 特点：A -关系-> 【B】
 */
@NodeEntity("RFood")
public class RFoodNode {

    private Long id;
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
